Automattic\WooCommerce\Blocks\BlockTypes\MiniCart D

Total Complexity 128
Dependencies 15
Dependents 0
Total lines 909
Lines of code 547
Logical lines of code 251
Comment lines 224
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
render_experimental_iapi_mini_cart()
C
30 25 119
print_lazy_load_scripts()
A
39 11 64
append_script_and_deps_src()
A
47 12 34
enqueue_data()
A
42 10 54
get_markup()
A
45 11 39
get_template_part_contents()
A
49 9 30
process_template_contents()
S
48 6 33
get_tax_label()
S
52 5 28
get_block_type_script()
S
61 5 11
get_cart_price_markup()
S
66 4 7
render()
S
68 4 6
render_experimental_iapi_mini_cart_overlay()
S
55 1 31
enable_interactivity_support()
S
67 3 8
modify_hooked_block_attributes()
S
63 3 10
get_script_from_handle()
S
66 3 9
get_include_tax_label_markup()
S
67 3 7
get_cart_instance()
S
69 3 7
get_inner_blocks_translations()
S
58 2 15
get_block_type_editor_script()
S
66 2 8
should_not_render_mini_cart()
S
78 2 3
__construct()
S
78 1 3
initialize()
S
65 1 8
get_block_type_style()
S
79 1 3
register_empty_cart_message_block_pattern()
S
64 1 10